package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("productIndex")
@Data
public class ProductIndexBean {
    //首页商品id
    @TableId(value = "productIndexId",type = IdType.AUTO)
    private Long productIndexId;
    //商品编号
    @TableField("productNum")
    private String productNum;
    //商品名
    @TableField("productName")
    private String productName;
    //商品价格
    @TableField("sellPrice")
    private double sellPrice;
    //商品图片
    @TableField("productImg")
    private String productImg;
}
